package com.financial.business.yspay.dto;

import com.financial.business.yspay.dto.refund.YsOrderDivListDTO;
import com.financial.business.yspay.dto.refund.YsRefundSplitInfoDTO;

import java.io.Serializable;
import java.util.List;

/**
 * @Author WANGNING
 * @Email wyn20140226@aliyun.com
 * @Description //银盛分账退款校验dto
 * @Date 2019/11/19 16:07
 */
public class YsRefundDTO implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 退款金额
     */
    private String refund_amount;

    /**
     * 三方支付专用交易单号
     */
    private String out_trade_no;

    /**
     * 对接平台退款单号
     */
    private String refund_no;

    /**
     * 提现类型
     */
    private String refund_type;

    /**
     * 业务类型
     */
    private String business_type;

    /**
     * 对接平台编码
     */
    private String platform_no;

    /**
     * 退款原因
     */
    private String refund_reason;

    /**
     * 对接平台主商户号
     */
    private String src_usercode;

    /**
     * 标识一次退款请求
     */
    private String out_request_no;

    /**
     * 商户日期
     */
    private String shopdate;

    private List<YsOrderDivListDTO> order_div_list;

    private List<YsRefundSplitInfoDTO> refund_split_info;


    public YsRefundDTO() {
        super();
    }

    public YsRefundDTO(String refund_amount, String out_trade_no, String refund_no, String refund_type, String business_type, String platform_no, String refund_reason, String src_usercode, String out_request_no, String shopdate, List<YsOrderDivListDTO> order_div_list, List<YsRefundSplitInfoDTO> refund_split_info) {
        this.refund_amount = refund_amount;
        this.out_trade_no = out_trade_no;
        this.refund_no = refund_no;
        this.refund_type = refund_type;
        this.business_type = business_type;
        this.platform_no = platform_no;
        this.refund_reason = refund_reason;
        this.src_usercode = src_usercode;
        this.out_request_no = out_request_no;
        this.shopdate = shopdate;
        this.order_div_list = order_div_list;
        this.refund_split_info = refund_split_info;
    }

    public String getRefund_amount() {
        return refund_amount;
    }

    public void setRefund_amount(String refund_amount) {
        this.refund_amount = refund_amount;
    }

    public String getOut_trade_no() {
        return out_trade_no;
    }

    public void setOut_trade_no(String out_trade_no) {
        this.out_trade_no = out_trade_no;
    }

    public String getRefund_no() {
        return refund_no;
    }

    public void setRefund_no(String refund_no) {
        this.refund_no = refund_no;
    }

    public String getRefund_type() {
        return refund_type;
    }

    public void setRefund_type(String refund_type) {
        this.refund_type = refund_type;
    }

    public String getBusiness_type() {
        return business_type;
    }

    public void setBusiness_type(String business_type) {
        this.business_type = business_type;
    }

    public String getPlatform_no() {
        return platform_no;
    }

    public void setPlatform_no(String platform_no) {
        this.platform_no = platform_no;
    }

    public String getRefund_reason() {
        return refund_reason;
    }

    public void setRefund_reason(String refund_reason) {
        this.refund_reason = refund_reason;
    }

    public String getSrc_usercode() {
        return src_usercode;
    }

    public void setSrc_usercode(String src_usercode) {
        this.src_usercode = src_usercode;
    }

    public String getOut_request_no() {
        return out_request_no;
    }

    public void setOut_request_no(String out_request_no) {
        this.out_request_no = out_request_no;
    }

    public String getShopdate() {
        return shopdate;
    }

    public void setShopdate(String shopdate) {
        this.shopdate = shopdate;
    }

    public List<YsOrderDivListDTO> getOrder_div_list() {
        return order_div_list;
    }

    public void setOrder_div_list(List<YsOrderDivListDTO> order_div_list) {
        this.order_div_list = order_div_list;
    }

    public List<YsRefundSplitInfoDTO> getRefund_split_info() {
        return refund_split_info;
    }

    public void setRefund_split_info(List<YsRefundSplitInfoDTO> refund_split_info) {
        this.refund_split_info = refund_split_info;
    }

    @Override
    public String toString() {
        return "YsRefundDTO{" +
                "refund_amount='" + refund_amount + '\'' +
                ", out_trade_no='" + out_trade_no + '\'' +
                ", refund_no='" + refund_no + '\'' +
                ", refund_type='" + refund_type + '\'' +
                ", business_type='" + business_type + '\'' +
                ", platform_no='" + platform_no + '\'' +
                ", refund_reason='" + refund_reason + '\'' +
                ", src_usercode='" + src_usercode + '\'' +
                ", out_request_no='" + out_request_no + '\'' +
                ", shopdate='" + shopdate + '\'' +
                ", order_div_list=" + order_div_list +
                ", refund_split_info=" + refund_split_info +
                '}';
    }
}
